package com.gxa.autoparts.admin.mapper;

import com.gxa.autoparts.core.pojo.AttributeKey;
import com.gxa.autoparts.core.pojo.AttributeValue;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

public interface AttributeKeyMapper extends Mapper<AttributeKey> {
    List<AttributeValue> selectAttributeValueById(Long attributeKeyId);
    List<AttributeKey> selectAllAttributeKeyNameAndAttributeValueName(Long attributeKeyId);
    List<AttributeKey> selectAttributeKeyAndAttributeValue(Long typeId);
    List<Map> select1(Long attributeKeyId);
}
